package com.xj.mapper;


import com.xj.pojo.User;
import com.xj.pojo.menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Mapper
public interface UserMapper {
    //根据用户id查找角色
    List<menu> selectRolesByUserId(Integer id);
    //查询全部
    List<User>  alluser(@Param("qi") Integer qi, @Param("num") Integer num);

    User select1(Integer id);

}
